<?php
//No direct access
defined('_JEXEC') or die('Restricted access');
?>
<div>
	<?php if ( $this->params->get('show_page_title', 1) ) : ?>
		<div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
			<?php echo $this->escape($this->params->get('page_title')); ?>
		</div>
	<?php endif; ?>
	<form action="index.php" method="post">
		<fieldset class="input">
			<p id="com-form-login-username">
				<label for="username"><?php echo JText::_('Username') ?></label><br />
				<input name="username" id="username" type="text" class="inputbox" alt="username" size="18" />
			</p>
			<p id="com-form-login-password">
				<label for="passwd"><?php echo JText::_('Password') ?></label><br />
				<input type="password" id="passwd" name="passwd" class="inputbox" size="18" alt="password" />
			</p>
			<?php if(JPluginHelper::isEnabled('system', 'remember')) : ?>
			<p id="com-form-login-remember">
				<label for="remember"><?php echo JText::_('Remember me') ?></label>
				<input type="checkbox" id="remember" name="remember" class="inputbox" value="yes" alt="Remember Me" />
			</p>
			<?php endif; ?>
			<input type="submit" name="Submit" class="button" value="<?php echo JText::_('LOGIN') ?>" />
		</fieldset>
		
		<input type="hidden" name="option" value="com_ownservice" />
		<input type="hidden" name="task" value="login" />
		<input type="hidden" name="return" value="<?php echo $this->return; ?>" />
		<?php echo JHTML::_( 'form.token' ); ?>
	</form>
</div>